<?php

$data = array('msg' => null, 'type' => 'warranty', 'table' => 'warranties');

$data['search_fields'] = array(
  'warranty',
  'measure'
);

$data['list_fields'] = array(
  'measure_id',
);

$data['joins'] = array(
    'measures'
);
$data['join_fields'] = array(
    '`warranties`.`measure_id`=`measures`.`id`'
);
$data['alias'] = array(
    '*, warranties.id',
    'CONCAT(`warranties`.`warranty`,\' \',`measures`.`measure` ) AS warranty_measure'
);

$data['order'] = 'measure, warranty';

?>
